<?php
  $loanId = $_GET['loanId'];
  $updateloan = "UPDATE loan 
                    SET isDeleted = 'Y'
                  WHERE loanId = ".$loanId;
  $updateloanRse = mysql_query($updateloan);
?>